package com.zr.vo.base;

import java.util.Date;
import com.zr.vo.BaseVo;
import java.io.Serializable;
import com.zr.vo.car.CarInfo;
import com.fasterxml.jackson.annotation.JsonFormat;

public class BaseDriver extends BaseVo implements Serializable {
    //自增id
    private Integer id;

    //司机身份证号
    private String driverId;

    //司机登录密码
    private String password;

    //司机姓名
    private String driverName;

    //司机联系方式
    private String driverTel;

    //司机性别
    private String sex;

    //司机当前是否配车
    private String status;

    //紧急联系人
    private String contact;

    //紧急联系人联系方式
    private String contactTel;

    //司机所属公司
    private String driverCompany;

    //创建司机时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    //修改司机时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date modifyTime;

    //司机身份证正面
    private String driverfrontUrl;

    //司机身份证背面
    private String driverbackUrl;

    //司机驾驶证
    private String dlUrl;

    //司机端登录用——xpj
    private CarInfo carInfo;

    public CarInfo getCarInfo() {
        return carInfo;
    }

    public void setCarInfo(CarInfo carInfo) {
        this.carInfo = carInfo;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDriverId() {
        return driverId;
    }

    public void setDriverId(String driverId) {
        this.driverId = driverId == null ? null : driverId.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName == null ? null : driverName.trim();
    }

    public String getDriverTel() {
        return driverTel;
    }

    public void setDriverTel(String driverTel) {
        this.driverTel = driverTel == null ? null : driverTel.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact == null ? null : contact.trim();
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel == null ? null : contactTel.trim();
    }

    public String getDriverCompany() {
        return driverCompany;
    }

    public void setDriverCompany(String driverCompany) {
        this.driverCompany = driverCompany == null ? null : driverCompany.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getDriverfrontUrl() {
        return driverfrontUrl;
    }

    public void setDriverfrontUrl(String driverfrontUrl) {
        this.driverfrontUrl = driverfrontUrl == null ? null : driverfrontUrl.trim();
    }

    public String getDriverbackUrl() {
        return driverbackUrl;
    }

    public void setDriverbackUrl(String driverbackUrl) {
        this.driverbackUrl = driverbackUrl == null ? null : driverbackUrl.trim();
    }

    public String getDlUrl() {
        return dlUrl;
    }

    public void setDlUrl(String dlUrl) {
        this.dlUrl = dlUrl == null ? null : dlUrl.trim();
    }
}